vfs: plug dead store in vn_io_fault1
Reported by: clang --analyze
This commit is contained in:
parent
31ee3a33aa
commit
eb9a1f9c68
@ -1393,7 +1393,6 @@ vn_io_fault1(struct vnode *vp, struct uio *uio, struct vn_io_fault_args *args,
|
||||
error = EFAULT;
|
||||
break;
|
||||
}
|
||||
cnt = atop(end - trunc_page(addr));
|
||||
/*
|
||||
* A perfectly misaligned address and length could cause
|
||||
* both the start and the end of the chunk to use partial
|
||||
|
Loading…
Reference in New Issue
Block a user