X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fenv_callback.h;h=ab4e115fb0678b280dfe3ce04bdafa4ed4c7f302;hb=44314918c020abc9d56e223cf8d57313a5c3db99;hp=b8560006540041e43d36928f470e08f341dc0846;hpb=be08abc2429c2e9cbce3d0abc1d315171d683520;p=karo-tx-uboot.git diff --git a/include/env_callback.h b/include/env_callback.h index b856000654..ab4e115fb0 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -2,23 +2,7 @@ * (C) Copyright 2012 * Joe Hershberger, National Instruments, joe.hershberger@ni.com * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ENV_CALLBACK_H__ @@ -76,7 +60,7 @@ void env_callback_init(ENTRY *var_entry); */ #ifdef CONFIG_SPL_BUILD #define U_BOOT_ENV_CALLBACK(name, callback) \ - static inline void _u_boot_env_noop_##name(void) \ + static inline __maybe_unused void _u_boot_env_noop_##name(void) \ { \ (void)callback; \ }