From: Jes Sorensen Date: Mon, 13 Apr 2015 14:28:38 +0000 (-0400) Subject: staging: unisys: visorchipset: Remove unused NONULLSTR() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a22650b920fa9062e75ea51941a6249a0d16be7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git staging: unisys: visorchipset: Remove unused NONULLSTR() Signed-off-by: Jes Sorensen Tested-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 899bf684cf00..6144a945629f 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -52,14 +52,6 @@ static ulong poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; static ulong most_recent_message_jiffies; /* when we got our last * controlvm message */ -static inline char * -NONULLSTR(char *s) -{ - if (s) - return s; - return ""; -} - static int serverregistered; static int clientregistered;