The gcc compiler is more sensitive when variable is having an value
assigned, but it is not used anywhere further.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/ena/ena.c | ||
---|---|---|
2765–2766 ↗ | (On Diff #34529) | Nothing wrong with this formulation, but an alternative would have been just to delete the ena_dev variable, since it is otherwise pointless. ena_handle_msix and ena_unmask_all_io_irqs appear to have gone with that approach. |