diff options
author | Tom "spot" Callaway <tcallawa@redhat.com> | 2007-12-13 09:33:50 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-12-14 13:54:39 -0800 |
commit | f58adb757be48068e2bded3dd77ba072c22a10ff (patch) | |
tree | 9636eec086caca88a09dd1cd101dc90b6261709b /Documentation/SubmittingPatches | |
parent | 4a9ecd5960e6a7814f6e3405807d49010ffe3a88 (diff) |
[ATM]: Fix compiler warning noise with FORE200E driver
gcc throws these warnings with:
CONFIG_ATM_FORE200E=m
# CONFIG_ATM_FORE200E_PCA is not set
drivers/atm/fore200e.c:2695: warning: 'fore200e_pca_detect' defined but
not used
drivers/atm/fore200e.c:2748: warning: 'fore200e_pca_remove_one' defined
but not used
By moving the #ifdef CONFIG_ATM_FORE200E_PCA around those two functions,
the compiler warnings are silenced.
Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/SubmittingPatches')
0 files changed, 0 insertions, 0 deletions