pioctl.c: removed unused variable
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 6 Feb 2014 21:11:49 +0000 (16:11 -0500)
committerD Brashear <shadow@your-file-system.com>
Tue, 25 Mar 2014 16:54:50 +0000 (09:54 -0700)
commitb9fb9c62a6779aa997259ddf2a83a90b08e04d5f
treee5529225d1b958ceaa15a7685dd4937677463c25
parent8beba712d95b637225f215534a759961ff4d80a9
pioctl.c: removed unused variable

The 'rval' variable is only actually used in the LINUX20 case;
adding another conditional block is making the LINUX20 case
different enough that it should get split out entirely.
Doing so lets the 'else' clause be simpler.

Found by clang on FreeBSD 10.0.

Change-Id: I60c56af355fdb68752d9596ff2cd7a4259b43fe9
Reviewed-on: http://gerrit.openafs.org/10819
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/sys/pioctl.c