diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-03 01:48:43 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-03 01:48:43 +0000 |
commit | 3e14ece5261f2b6f82ab1ce331338c85eaa1fa6d (patch) | |
tree | 8f331bc9a4201f81eaacfa94db8754a72eea39d5 /target/linux/brcm47xx/patches-3.3/001-MIPS-BCM47XX-return-number-of-written-bytes-in-nvram.patch | |
parent | e1c79f505872db5b8f2666c74399aca59c6db9e4 (diff) | |
download | upstream-3e14ece5261f2b6f82ab1ce331338c85eaa1fa6d.tar.gz upstream-3e14ece5261f2b6f82ab1ce331338c85eaa1fa6d.tar.bz2 upstream-3e14ece5261f2b6f82ab1ce331338c85eaa1fa6d.zip |
brcm47xx: remove support for kernel version 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34986 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.3/001-MIPS-BCM47XX-return-number-of-written-bytes-in-nvram.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.3/001-MIPS-BCM47XX-return-number-of-written-bytes-in-nvram.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/001-MIPS-BCM47XX-return-number-of-written-bytes-in-nvram.patch b/target/linux/brcm47xx/patches-3.3/001-MIPS-BCM47XX-return-number-of-written-bytes-in-nvram.patch deleted file mode 100644 index 4fb7c309ce..0000000000 --- a/target/linux/brcm47xx/patches-3.3/001-MIPS-BCM47XX-return-number-of-written-bytes-in-nvram.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/arch/mips/bcm47xx/nvram.c -+++ b/arch/mips/bcm47xx/nvram.c -@@ -107,8 +107,7 @@ int nvram_getenv(char *name, char *val, - value = eq + 1; - if ((eq - var) == strlen(name) && - strncmp(var, name, (eq - var)) == 0) { -- snprintf(val, val_len, "%s", value); -- return 0; -+ return snprintf(val, val_len, "%s", value); - } - } - return NVRAM_ERR_ENVNOTFOUND; |