staging/slicoss: Remove always true if statement
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 19 Feb 2013 04:18:49 +0000 (05:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:22:43 +0000 (09:22 -0700)
commitcbb0920b9b5090c7006404d8c6533f8ca03cf2ed
tree486790197f7e510bc9f2ac13e28daac734c21587
parent81372118c6fc12d41b6e978b915cc010fe6e5700
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>
drivers/staging/slicoss/slicoss.c