summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGiuseppe Di Natale <[email protected]>2017-09-19 12:17:29 -0700
committerBrian Behlendorf <[email protected]>2017-09-19 12:17:29 -0700
commit34d00e7aba13076e47dbd1791bd955c1e2f7b0c9 (patch)
tree4fca38c567b350660e6f2d6d53951bc356a2bb47 /module
parent8e2dddab421e7131b7bd7eadd517fb36b59b2ddd (diff)
Correct cppcheck errors
ZFS buildbot STYLE builder was moved to Ubuntu 17.04 which has a newer version of cppcheck. Handle the new cppcheck errors. uu_* functions removed in this commit were unused and effectively dead code. They are now retired. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Giuseppe Di Natale <[email protected]> Closes #6653
Diffstat (limited to 'module')
-rw-r--r--module/zfs/zfs_vnops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c
index ffeac7730..30cd58f6b 100644
--- a/module/zfs/zfs_vnops.c
+++ b/module/zfs/zfs_vnops.c
@@ -836,7 +836,6 @@ zfs_write(struct inode *ip, uio_t *uio, int ioflag, cred_t *cr)
aiov->iov_base != abuf->b_data)) {
ASSERT(xuio);
dmu_write(zfsvfs->z_os, zp->z_id, woff,
- // cppcheck-suppress nullPointer
aiov->iov_len, aiov->iov_base, tx);
dmu_return_arcbuf(abuf);
xuio_stat_wbuf_copied();