Re: [PATCH net-2.6.26] Use existing device list walker for /proc/dev_mcast.
From: David Miller <davem@davemloft.net>
Date: 2008-02-29 19:44:25
From: David Miller <davem@davemloft.net>
Date: 2008-02-29 19:44:25
From: Pavel Emelyanov <redacted> Date: Fri, 29 Feb 2008 19:12:30 +0300
The seq_file_operations' dev_mc_seq_xxx callbacks do the same thing as the dev_seq_xxx ones do, but skip the SEQ_START_TOKEN. So use the existing exported dev_seq_xxx calls and handle the SEQ_START_TOKEN in the dev_mc_seq_show(). Signed-off-by: Pavel Emelyanov <redacted>
Nice simplification, applied.