commit | cbb0920b9b5090c7006404d8c6533f8ca03cf2ed | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Tue Feb 19 05:18:49 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 11 09:22:43 2013 -0700 |
tree | 486790197f7e510bc9f2ac13e28daac734c21587 | |
parent | 81372118c6fc12d41b6e978b915cc010fe6e5700 [diff] |
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>