]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] cxgbi3: remove unnecessary NULL test
authorJiri Slaby <jslaby@suse.cz>
Tue, 22 Dec 2009 00:27:55 +0000 (16:27 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:14 +0000 (10:48 -0600)
commit0ed8570ef4d51bb46e2028b2e3c3ddd1f860e193
tree3269e0a13805606c94495478988d2dc6d80c043f
parent3dbf6c0012d12473461b7485006db373e8192fa5
[SCSI] cxgbi3: remove unnecessary NULL test

Stanse found that c3cn is poked many times around in
cxgb3i_conn_pdu_ready, there is no need to check if it is NULL.

Remove the test.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/cxgb3i/cxgb3i_pdu.c