Merge branch 'netrom-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 11:46:41 +0000 (20:46 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 11:46:41 +0000 (20:46 +0900)
commit6683ed96b5d788a5876f1c6f84bed2b93b002a07
treee390cf523e2e462e2fc3752bc93ca8e024c955ab
parent31b102bb501bea50ebc10f4aecf9d788305b8b87
parent31f74f0f4e8dfe5b30ff59d9a38a370fbb725f38
Merge branch 'netrom-cleanups'

Gustavo A. R. Silva says:

====================
netrom: refactor code and mark expected switch fall-throughs

The aim of this patchset is firstly to refactor code in nr_route.c in order to make it
easier to read and maintain and, secondly, to mark some expected switch fall-throughs
in preparation to enabling -Wimplicit-fallthrough.

I have to mention that I did not implement any unit test.
If someone has any suggestions on how I could test this piece of code
it'd be greatly appreciated.

Changes in v2:
 - Make use of the swap macro and remove inline keyword as suggested by
   Walter Harms and Kevin Dawson.

Changes in v3:
 - Update subject for both patches.
 - Add this cover letter as suggested by David Miller.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>