projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5071fb2
)
mtd: use tabs for indents
author
rmilecki
<rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 May 2016 07:51:45 +0000
(07:51 +0000)
committer
Rafał Miłecki
<zajec5@gmail.com>
Mon, 9 May 2016 16:53:02 +0000
(18:53 +0200)
This makes code style consistent across the whole file.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
package/system/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/system/mtd/src/mtd.c
b/package/system/mtd/src/mtd.c
index dae0514a0b8fecb74f09298843ffe9058874d20a..60ae7adcdfac56541deb6a460175679a91baaffa 100644
(file)
--- a/
package/system/mtd/src/mtd.c
+++ b/
package/system/mtd/src/mtd.c
@@
-966,16
+966,16
@@
int main (int argc, char **argv)
mtd_write_jffs2(device, imagefile, jffs2dir);
break;
case CMD_FIXTRX:
- if (mtd_fixtrx) {
- mtd_fixtrx(device, offset);
- }
+
if (mtd_fixtrx) {
+
mtd_fixtrx(device, offset);
+
}
case CMD_RESETBC:
- if (mtd_resetbc) {
- mtd_resetbc(device);
- }
+
if (mtd_resetbc) {
+
mtd_resetbc(device);
+
}
case CMD_FIXSEAMA:
if (mtd_fixseama)
- mtd_fixseama(device, 0);
+
mtd_fixseama(device, 0);
break;
}