Fix 'statement with no effect' warning
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 23 Feb 2011 21:03:19 +0000 (13:03 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 23 Feb 2011 21:03:19 +0000 (13:03 -0800)
commitf6dcdf13f80ee039141ab92ae506bd4443111662
treeb3f8ad9324d05d4703cad0c083bcf83ac2b4eede
parent718d77f622463e1763c4f6d5cbfb7740d7e6968d
Fix 'statement with no effect' warning

Because the secpolicy_* macros are all currently defined to (0).
And because the caller of this function does not check the return
code.  The compiler complains that this statement has no effect
which is correct and OK.  To suppress the warning explictly cast
the result to (void).
module/zfs/zfs_vnops.c