]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: most: simplify expression
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:52:44 +0000 (10:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit4aa575a91e637ab1c5e89c91bb59e91e518cb5f6
treeefc6e172adfcbf31fe24ab718b049ab77cb891a8
parentf9f24870d84d4c77cbb330df1e1112fd97a9e12c
staging: most: simplify expression

This patch replaces the ternary ?-operator with a way simpler subtraction.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c