From: Colin King <colin.king@xxxxxxxxxxxxx> Date: Sun, 5 Apr 2020 13:06:02 +0100 > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > In function i2400m_bm_buf_alloc there is no need to use a variable > 'result' to return -ENOMEM, just return the literal value. In the > function i2400m_setup the variable 'result' is initialized with a > value that is never read, it is a redundant assignment that can > be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Applied, thanks.