diff options
author | Wagner Ferenc <wferi@niif.hu> | 2007-12-07 08:40:29 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-07 21:00:25 +0100 |
commit | 16cd0160d5e7e22c2818b30bf1a1d4c262a8df8a (patch) | |
tree | 9b308a86ac51c52edcdaa3967a3a89d28d048b07 /drivers/Kconfig | |
parent | bonding: Remove trailing NULs from sysfs interface. (diff) | |
download | linux-16cd0160d5e7e22c2818b30bf1a1d4c262a8df8a.tar.xz linux-16cd0160d5e7e22c2818b30bf1a1d4c262a8df8a.zip |
bonding: Return nothing for not applicable values
From: Wagner Ferenc <wferi@niif.hu>
The previous code returned '\n' (that is, a single empty line)
from most files, with one exception (xmit_hash_policy), where
it returned 'NA\n'. This patch consolidates each file to return
nothing at all if not applicable, not even a '\n'.
I find this behaviour more usual, more useful, more efficient
and shorter to code from both sides.
Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions