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
Unknown Object (File)
Tue, Dec 30, 11:41 PM
Unknown Object (File)
Tue, Dec 30, 10:42 PM
Unknown Object (File)
Thu, Dec 25, 10:36 PM
Unknown Object (File)
Nov 26 2025, 9:02 PM
Unknown Object (File)
Nov 20 2025, 11:13 PM
Unknown Object (File)
Nov 20 2025, 11:10 PM
Unknown Object (File)
Nov 20 2025, 11:09 PM
Unknown Object (File)
Nov 20 2025, 11:02 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 Not Applicable
Unit
Tests Not Applicable

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.