diff options
| author | 2022-09-22 13:54:20 +0200 | |
|---|---|---|
| committer | 2022-09-22 13:54:20 +0200 | |
| commit | af45a0d32df9c8f5abbbc7401d70ffa296c8cef6 (patch) | |
| tree | f162ece8fa7d94374d15801d614849db649282ac /include/linux/overflow.h | |
| parent | ALSA: hda/ca0132 - remove the unneeded result variable (diff) | |
| parent | ALSA: hda: intel-dsp-config: add missing RaptorLake PCI IDs (diff) | |
| download | linux-dev-af45a0d32df9c8f5abbbc7401d70ffa296c8cef6.tar.xz linux-dev-af45a0d32df9c8f5abbbc7401d70ffa296c8cef6.zip | |
Merge branch 'for-linus' into for-next
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)) |
