diff options
| author | Colin Ian King <colin.king@canonical.com> | 2013-03-27 18:25:04 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-03-27 14:30:55 -0400 |
| commit | 429a22ca39e531d9f8bacac1f81f7207909bcbd2 (patch) | |
| tree | 32193c308f165af8f7b4c1496110c70233ad146e /net/sched/cls_api.c | |
| parent | e2a553dbf18a5177fdebe29495c32a8e7fd3a4db (diff) | |
| download | olio-linux-3.10-429a22ca39e531d9f8bacac1f81f7207909bcbd2.tar.xz olio-linux-3.10-429a22ca39e531d9f8bacac1f81f7207909bcbd2.zip | |
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>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions