Skip to content
Commit 359d67d6 authored by Julia Lawall's avatar Julia Lawall Committed by Steve French
Browse files

[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: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent c6fbba05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment