From fb7e16cc1c1f5d5bb212118b89218b2e706226b2 Mon Sep 17 00:00:00 2001 From: Richard Genoud Date: Thu, 13 Dec 2012 00:47:36 +0000 Subject: FAT: use toupper/tolower instead of recoding them toupper/tolower function are already declared, so use them. Signed-off-by: Richard Genoud Acked-by: Marek Vasut Acked-by: Stefano Babic --- include/fat.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/fat.h') diff --git a/include/fat.h b/include/fat.h index 706cd7a4bd..b28c3fd668 100644 --- a/include/fat.h +++ b/include/fat.h @@ -98,9 +98,6 @@ #endif #endif -#define TOLOWER(c) if((c) >= 'A' && (c) <= 'Z'){(c)+=('a' - 'A');} -#define TOUPPER(c) if ((c) >= 'a' && (c) <= 'z') \ - (c) -= ('a' - 'A'); #define START(dent) (FAT2CPU16((dent)->start) \ + (mydata->fatsize != 32 ? 0 : \ (FAT2CPU16((dent)->starthi) << 16))) -- cgit v1.2.3