kmem_zalloc(..., KM_SLEEP) will never fail
authorshenyan1 <shenyanxxxy@qq.com>
Sat, 29 Jun 2013 11:07:45 +0000 (19:07 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 1 Jul 2013 21:51:48 +0000 (14:51 -0700)
commit0a6bef26ec80ee4db5f5340bbc007a45311e0415
tree9b7f6b6ec91c0a049a7cc3c661c8724ef56d7d1d
parentab68b6e5db29abcd20c0c7b12a8c2fa570031c8b
kmem_zalloc(..., KM_SLEEP) will never fail

By definitition these allocations will never fail.  For
consistency with the rest of the code remove this dead error
handling code.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1558
module/zfs/zfs_ioctl.c
module/zfs/zvol.c