[CIFS] Remove redundant test
authorJulia Lawall <julia@diku.dk>
Mon, 22 Dec 2008 21:53:40 +0000 (21:53 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 26 Dec 2008 02:29:13 +0000 (02:29 +0000)
commit359d67d6ad054ae11ad459665fdfb883aca87782
treec4cb640ec1692b7f89144fd8bed7e0505a8cad43
parentc6fbba0546d3ead18d4a623e76e28bcbaa66a325
[CIFS] Remove redundant test

In fs/cifs/cifssmb.c, pLockData is tested for being NULL at the beginning
of the function, and not reassigned subsequently.

A simplified version of the semantic patch that makes this change is as
follows: (http://www.emn.fr/x-info/coccinelle/)

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c