bridge: cleanup: remove unneed check
commit02a780c014c40973cbe71d04cec7a24e6629995f
authorDan Carpenter <error27@gmail.com>
Sat, 6 Mar 2010 01:14:09 +0000 (6 01:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Mar 2010 23:25:49 +0000 (7 15:25 -0800)
tree5a0004b13951be93d5e4f1d622d6431ba031293a
parentb96b894c518bc7399e6b86b635b5e8cd7356a8e9
bridge: cleanup: remove unneed check

We dereference "port" on the lines immediately before and immediately
after the test so port should hopefully never be null here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c