1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[adm5120] coding style fixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9263 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2007-10-11 15:09:50 +00:00
parent 818220b46c
commit ec6d32f924
21 changed files with 303 additions and 308 deletions

View File

@@ -54,7 +54,6 @@ int parse_myloader_partitions(struct mtd_info *master,
int num_parts;
int ret, i;
size_t retlen;
size_t parts_len;
char *names;
unsigned long offset;
unsigned long blocklen;
@@ -104,8 +103,8 @@ int parse_myloader_partitions(struct mtd_info *master,
num_parts++;
}
mtd_parts = kzalloc((num_parts*sizeof(*mtd_part) + num_parts*NAME_LEN_MAX),
GFP_KERNEL);
mtd_parts = kzalloc((num_parts * sizeof(*mtd_part) +
num_parts * NAME_LEN_MAX), GFP_KERNEL);
if (!mtd_parts) {
ret = -ENOMEM;