[PATCH] char: ip2 remove broken macro



Hello,

This macro is broken and unused so why not remove it.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

drivers/char/ip2/i2cmd.h | 5 -----
1 file changed, 5 deletions(-)

--- linux-2.6.19-rc6-mm2-a/drivers/char/ip2/i2cmd.h 2006-11-16 05:03:40.000000000 +0100
+++ linux-2.6.19-rc6-mm2-b/drivers/char/ip2/i2cmd.h 2006-11-30 00:53:38.000000000 +0100
@@ -367,11 +367,6 @@ static UCHAR cc02[];
#define CSE_NULL 3 // Replace with a null
#define CSE_MARK 4 // Replace with a 3-character sequence (as Unix)

-#define CMD_SET_REPLACEMENT(arg,ch) \
- (((cmdSyntaxPtr)(ct36a))->cmd[1] = (arg), \
- (((cmdSyntaxPtr)(ct36a))->cmd[2] = (ch), \
- (cmdSyntaxPtr)(ct36a))
-
#define CSE_REPLACE 0x8 // Replace the errored character with the
// replacement character defined here



--
Regards,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH 5/5] Decrapify evdev.c of per-arch compat hacks
    ... > A nice cleanup of evdev.c by using the is_compat_taskmacro. ... > More majordomo info at http://vger.kernel.org/majordomo-info.html ... > Please read the FAQ at http://www.tux.org/lkml/ ... SuSE Labs, SuSE CR ...
    (Linux-Kernel)
  • Re: [PATCH] arm: balance parenthesis in header file
    ... On Sat, Oct 18, 2008 at 8:56 PM, Mariusz Kozlowski ... commit fff147208b48680cb7b627a144113a6585828a0e ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH] parisc: add ()-pair in __ffs()
    ... Add missing -pair in ffz() macro. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [2.4 PATCH] add missing parenthesis in pci-v320usc
    ... This patch adds missing parenthesis in v320usc_inbmacro. ... Mariusz Kozlowski ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • Re: x86: kdump failure
    ... kernel BUG at include/linux/elfcore.h:105! ... this macro got removed by the regset patches. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)