diff options
| author | 2022-09-10 16:39:51 +0100 | |
|---|---|---|
| committer | 2022-09-10 16:39:51 +0100 | |
| commit | 824723ccf53fc53ecf896753c562b00a5d6307eb (patch) | |
| tree | c0ec150c4510eb161ba57a7fd39a1393f3b77cdd /include/linux/overflow.h | |
| parent | spi: Group cs_change and cs_off flags together in struct spi_transfer (diff) | |
| parent | Linux 6.0-rc4 (diff) | |
| download | linux-dev-824723ccf53fc53ecf896753c562b00a5d6307eb.tar.xz linux-dev-824723ccf53fc53ecf896753c562b00a5d6307eb.zip | |
spi: Merge tag 'v6.0-rc4' into spi-6.1
Linux 6.0-rc4 so we can test on BeagleBone again.
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)) |
