diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-19 04:18:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-11 16:22:43 (GMT) |
commit | cbb0920b9b5090c7006404d8c6533f8ca03cf2ed (patch) | |
tree | 486790197f7e510bc9f2ac13e28daac734c21587 /ipc/util.c | |
parent | 81372118c6fc12d41b6e978b915cc010fe6e5700 (diff) | |
download | linux-fsl-qoriq-cbb0920b9b5090c7006404d8c6533f8ca03cf2ed.tar.xz |
staging/slicoss: Remove always true if statement
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>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions