2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/net/hamradio
Colin Ian King 429a22ca39 yam: remove redundant null check on dev
yam_open has a redundant null check on null,  it will
never be called with dev == NULL. Remove this redundant check.
This also cleans up a smatch warning:

drivers/net/hamradio/yam.c:869 yam_open() warn: variable
  dereferenced before check 'dev' (see line 867)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-27 14:30:55 -04:00
..
6pack.c sections: fix section conflicts in drivers/net/hamradio 2012-10-06 03:04:43 +09:00
baycom_epp.c hamradio: fix incompatible pointer in module parameter 2012-02-01 14:40:01 -05:00
baycom_par.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
baycom_ser_fdx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
baycom_ser_hdx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
bpqether.c net: proc: change proc_net_remove to remove_proc_entry 2013-02-18 14:53:08 -05:00
dmascc.c drivers:net:misc: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:35 -05:00
hdlcdrv.c hdlcdrv: Drop __TIME__ usage 2011-05-25 17:21:33 +02:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
mkiss.c sections: fix section conflicts in drivers/net/hamradio 2012-10-06 03:04:43 +09:00
scc.c net: proc: change proc_net_remove to remove_proc_entry 2013-02-18 14:53:08 -05:00
yam.c yam: remove redundant null check on dev 2013-03-27 14:30:55 -04:00
z8530.h