From: Tobias Klauser Date: Fri, 25 Apr 2014 13:39:12 +0000 (+0200) Subject: staging: vt6656: Remove unnecesssary NULL check X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~917 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34bdb981f7cb446259b0999d40f090c16f732eca;p=pandora-kernel.git staging: vt6656: Remove unnecesssary NULL check pFifoHead points to tx_buffer->fifo_head which can never be NULL. We also don't need to check for tx_buffer being NULL instead, since it always points to ->Data of struct vnt_usb_send_context - the pointer to which was checked before calling s_vGenerateTxParameter(). Silences a dereference before NULL check warning reported by the coverity scanner in CID 1127221. Cc: Dan Carpenter Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed