summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/mcp251x.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-12-21 15:25:32 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-04 06:25:54 +0100
commit073bd90f03d98bc3168865f21573c9b232777c13 (patch)
tree86efa3dbae26d7d0694dccb0103d1f2d19cba860 /drivers/net/can/mcp251x.c
parentnet/sctp/socket.c: squish warning (diff)
downloadlinux-073bd90f03d98bc3168865f21573c9b232777c13.tar.xz
linux-073bd90f03d98bc3168865f21573c9b232777c13.zip
drivers/isdn: eliminate duplicated test
The code checked slot_rx twice. Check slot_tx by analogy with the bank case. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression E; @@ ( *E && E | *E || E ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/mcp251x.c')
0 files changed, 0 insertions, 0 deletions