]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit38b5d5ba72f946c71bfa3f57835cab62cc7dbd9f
treec4cb640ec1692b7f89144fd8bed7e0505a8cad43
parent1a83479349f7b39d5cab4e8571da5a87ba457f55
[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