From 2e02d653febff23de614dc8978c64fbaa2767d85 Mon Sep 17 00:00:00 2001 From: Sagi Grimberg Date: Thu, 15 Aug 2013 17:04:42 +0300 Subject: [PATCH] IB/iser: Fix redundant pointer check in dealloc flow This bug was discovered by Smatch static checker run by Dan Carpenter. If in free_rx_descriptors(), rx_descs are not NULL then the iser device is definately not NULL, so no need to check it before dereferencing it. Signed-off-by: Sagi Grimberg Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-format-patch failed