git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8137211
)
staging/slicoss: Remove always true if statement
author
Peter Huewe
<peterhuewe@gmx.de>
Tue, 19 Feb 2013 04:18:49 +0000
(
05:18
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:22:43 +0000
(09:22 -0700)
skbtype is assigned once to NORMAL_ETHFRAME and then checked if it is
NORMAL_ETHFRAME -> remove the checks.
This also gets rid of the (false positive) smatch warning:
slicoss.c:2829 slic_xmit_start() error: potential NULL dereference
'hcmd'.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found