From: Colin Ian King Date: Wed, 27 Mar 2013 18:25:04 +0000 (+0000) Subject: yam: remove redundant null check on dev X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~292 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=429a22ca39e531d9f8bacac1f81f7207909bcbd2;p=pandora-kernel.git 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 Reviewed-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed