Page MenuHomeFreeBSD

Static analysis: Remove unused variables in IPv6 code
ClosedPublic

Authored by jtl on May 26 2017, 4:43 PM.
Tags
None
Referenced Files
F163296645: D10940.id28871.diff
Tue, Jul 21, 7:59 PM
F163296630: D10940.id28871.diff
Tue, Jul 21, 7:59 PM
Unknown Object (File)
Mon, Jul 6, 10:50 AM
Unknown Object (File)
Sun, Jul 5, 9:18 PM
Unknown Object (File)
Sun, Jul 5, 7:01 AM
Unknown Object (File)
Sat, Jul 4, 6:44 AM
Unknown Object (File)
Fri, Jul 3, 1:53 AM
Unknown Object (File)
Thu, Jul 2, 9:25 PM
Subscribers

Details

Summary

I ran clang's static analyzer over the kernel sources. It identified a number of places where variables are set, but not used. This change cleans up a number of these places.

Sponsored by: Netflix
MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15713
Build 15739: arc lint + arc unit

Event Timeline

Most of these changes have been committed by now. Updating diff with a few remaining bits.

Starting the (approx.) 48-hour countdown timer until commit.

bz added a subscriber: bz.

Seems good to me.

This revision is now accepted and ready to land.Mar 22 2018, 2:14 PM
This revision was automatically updated to reflect the committed changes.