]> err.no Git - linux-2.6/blobdiff - fs/lockd/clntproc.c
[BNX2]: simplify parameter checks in bnx2_{get,set}_eeprom
[linux-2.6] / fs / lockd / clntproc.c
index 87332f30141b621b7478f3faacfac6e4c226d991..c5a33648e9fd5b6d88e50c42f9252d48f87cc57d 100644 (file)
@@ -112,8 +112,7 @@ static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_
                }
        }
        spin_unlock(&host->h_lock);
-       if (new != NULL)
-               kfree(new);
+       kfree(new);
        return res;
 }