]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pcmcia/i82365.c
Merge remote-tracking branch 'u-boot-sh/rmobile'
[karo-tx-uboot.git] / drivers / pcmcia / i82365.c
index 1bcb3a52eb8fd7cbea4ab17dac09660b13c076b5..84a3d2ecb3bae9ff335f68e90456ec6a887c986f 100644 (file)
@@ -2,24 +2,7 @@
  * (C) Copyright 2003-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * 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+
  ********************************************************************
  *
  * Lots of code copied from:
@@ -272,11 +255,7 @@ static u_int cirrus_set_opts (socket_info_t * s)
 {
        cirrus_state_t *p = &s->c_state;
        u_int mask = 0xffff;
-#if DEBUG
-       char buf[200];
-
-       memset (buf, 0, 200);
-#endif
+       char buf[200] = {0};
 
        if (has_ring == -1)
                has_ring = 1;