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
5d280640cd
commit
21d7728498
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348533
@ -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