Please do not mix cleanups with legitimate bug fixes. Also, when posting a multi-patch series, you must always provide an appropriate "[PATCH 0/N]" header posting that describes what you series is doing at a high level, how it is doing it, and why it is doing it that way.
For this, submit the erroneous warning removal against 'net' as a single patch. And then once that propagates into the 'net-next' tree you can submit the coding style cleanups against 'net-next', thanks.