diff options
| author | Tony Lindgren <tony@atomide.com> | 2022-09-06 09:45:27 +0300 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2022-09-06 09:45:27 +0300 |
| commit | 2a906db2824b75444982f5e9df870106982afca8 (patch) | |
| tree | 8cda7a970356f63f2a9d3246ca69ef16220041d3 /include/linux/overflow.h | |
| parent | 2eb502f496f7764027b7958d4e74356fed918059 (diff) | |
| parent | 6a6d9ecff14a2a46c1deeffa3eb3825349639bdd (diff) | |
Merge branch 'am5748-fix' into fixes
Diffstat (limited to 'include/linux/overflow.h')
| -rw-r--r-- | include/linux/overflow.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/overflow.h b/include/linux/overflow.h index f1221d11f8e5..0eb3b192f07a 100644 --- a/include/linux/overflow.h +++ b/include/linux/overflow.h @@ -30,7 +30,6 @@ * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html - * credit to Christian Biere. */ -#define is_signed_type(type) (((type)(-1)) < (type)1) #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) #define type_min(T) ((T)((T)-type_max(T)-(T)1)) |
