Thread (2 messages) 2 messages, 2 authors, 2013-03-27

Re: [PATCH v2] yam: remove redundant null check on dev

From: David Miller <davem@davemloft.net>
Date: 2013-03-27 18:31:09
Also in: linux-hams

From: Colin King <redacted>
Date: Wed, 27 Mar 2013 18:25:04 +0000
From: Colin Ian King <redacted>

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 <redacted>
Reviewed-by: Ben Hutchings <redacted>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help