aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdrom/gdrom.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-06 01:11:38 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-07 15:25:50 -0800
commitea3fb371b2a391958670f2a65e1203f7dba61671 (patch)
tree99daed8827feb1cd6570033da6936d794ebc3f0f /drivers/cdrom/gdrom.c
parent02a780c014c40973cbe71d04cec7a24e6629995f (diff)
ems_usb: cleanup: remove uneeded check
"skb" is alway non-null here, but even if it were null the check isn't needed because dev_kfree_skb() can handle it. This eliminates a smatch warning about dereferencing a variable before checking that it is non-null. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdrom/gdrom.c')
0 files changed, 0 insertions, 0 deletions