spl: spl_legacy: Use IS_ENABLED() to remove #ifdef
[oweals/u-boot.git] / api / api_net.c
index 67c291682a655a4bc545a4cd86cf2b52eb29808d..7515c26e8b44edd3a4cc2e8184776cc97a4612c5 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2007 Semihalf
  *
  * Written by: Rafal Jaworowski <raj@semihalf.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
@@ -12,8 +11,6 @@
 #include <linux/types.h>
 #include <api_public.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define DEBUG
 #undef DEBUG