minmax: deduplicate __unconst_integer_typeof()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 Sep 2023 15:49:13 +0000 (18:49 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Oct 2023 17:41:57 +0000 (10:41 -0700)
commit5e57418a2031cd5e1863efdf3d7447a16a368172
treecf9d923bc94a8a06ae640da17cea83179887fee8
parent6309727ef27162deabd5c095c11af24970fba5a2
minmax: deduplicate __unconst_integer_typeof()

It appears that compiler_types.h already have an implementation of the
__unconst_integer_typeof() called __unqual_scalar_typeof().  Use it
instead of the copy.

Link: https://lkml.kernel.org/r/20230911154913.4176033-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/minmax.h