Remove dead store.
sw_flags is set to the function argument several lines later. Reported by: danfe using PVS-studio Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
be37a4f410
commit
d01905837c
@ -2230,7 +2230,6 @@ swaponsomething(struct vnode *vp, void *id, u_long nblks,
|
||||
sp->sw_vp = vp;
|
||||
sp->sw_id = id;
|
||||
sp->sw_dev = dev;
|
||||
sp->sw_flags = 0;
|
||||
sp->sw_nblks = nblks;
|
||||
sp->sw_used = 0;
|
||||
sp->sw_strategy = strategy;
|
||||
|
Loading…
Reference in New Issue
Block a user