Re: [PATCH 4/4] nvmem: remove unneeded IS_ENABLED(CONFIG_NVMEM) conditional

From: Srinivas Kandagatla
Date: Mon Sep 18 2017 - 11:02:44 EST




On 18/09/17 15:09, Greg Kroah-Hartman wrote:
On Mon, Sep 11, 2017 at 11:00:14AM +0200,srinivas.kandagatla@xxxxxxxxxx wrote:
From: Masahiro Yamada<yamada.masahiro@xxxxxxxxxxxxx>

As you see in drivers/nvmem/Makefile, this C file is compiled only
when CONFIG_NVMEM is y or m.

So, IS_ENABLED(CONFIG_NVMEM) is always evaluated to 1 in this file.

Signed-off-by: Masahiro Yamada<yamada.masahiro@xxxxxxxxxxxxx>
Signed-off-by: Srinivas Kandagatla<srinivas.kandagatla@xxxxxxxxxx>
---
drivers/nvmem/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Again, not a bugfix, should go into 4.15-rc1.
Okay, No Problem!

thanks,
srini