From 8d13a60e0d7291badaeba6e726ffaaabc502b630 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 8 Jun 2014 16:28:20 +0200 Subject: [PATCH] backports: remove USHORT_MAX from kernel.h This define is not in the kernel any more. Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/kernel.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backport/backport-include/linux/kernel.h b/backport/backport-include/linux/kernel.h index 707bed91f287..e695842b9fff 100644 --- a/backport/backport-include/linux/kernel.h +++ b/backport/backport-include/linux/kernel.h @@ -67,12 +67,6 @@ #define lower_32_bits(n) ((u32)(n)) #endif -#ifndef USHORT_MAX -#define USHORT_MAX ((u16)(~0U)) -#define SHORT_MAX ((s16)(USHORT_MAX>>1)) -#define SHORT_MIN (-SHORT_MAX - 1) -#endif - #ifndef clamp #define clamp(val, min, max) ({ \ typeof(val) __val = (val); \ -- 2.30.2