locks: remove extraneous IS_POSIX and IS_FLOCK tests
authorJeff Layton <jeff.layton@primarydata.com>
Fri, 3 Apr 2015 13:04:02 +0000 (09:04 -0400)
committerJeff Layton <jeff.layton@primarydata.com>
Fri, 3 Apr 2015 13:04:02 +0000 (09:04 -0400)
commit9b8c86956dea44276e2b2bb368f1f34895f4c5ea
tree6be539baf6853c6c8177a2480c7898e834f626af
parent9cd29044bd7be430f0d38620a6b0b6a0c017c6c9
locks: remove extraneous IS_POSIX and IS_FLOCK tests

We know that the locks being passed into this function are of the
correct type, now that they live on their own lists.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
fs/locks.c