summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-10-08 16:50:00 +0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-10-08 16:56:15 +0800
commit658e9f54914bc055bd34ef650cefef36acbcdba2 (patch)
treeb192659da3b4153b434b8bb1e3eb50c7594fdb59
parent5841dde211e29b64ed4db902b7bb7606000f8a07 (diff)
binding: hvac: remove useless NULL definition
Pretty sure NULL doesn't need to be defined for any modern compiler in the last 20 years. Bug-AGL: SPEC-1757 Change-Id: I3036e0db90b090a8d19527eb9244e0d9e455b332 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--binding/hvac-demo-binding.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/binding/hvac-demo-binding.c b/binding/hvac-demo-binding.c
index d5683ff..a7b7d3d 100644
--- a/binding/hvac-demo-binding.c
+++ b/binding/hvac-demo-binding.c
@@ -40,10 +40,6 @@
#define CAN_DEV "vcan0"
-#ifndef NULL
-#define NULL 0
-#endif
-
static const struct afb_binding_interface *interface;
static struct afb_event event;