diff options
author | Andrew Morton <akpm@osdl.org> | 2005-06-21 20:16:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 22:07:36 -0400 |
commit | a40ea8f22e59c038ffdf219251a67311b9f6e362 (patch) | |
tree | ee1ce92290e3a9785c19ecc71271d895da02a766 /fs | |
parent | 12121714fbf36023d5892034d0c97df54a451543 (diff) |
[PATCH] rock: remove CONTINUE_DECLS
Remove the CONTINUE_DECLS macro.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/isofs/rock.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c index 8497c6bd5678..9f2aaa27f8fa 100644 --- a/fs/isofs/rock.c +++ b/fs/isofs/rock.c | |||
@@ -37,14 +37,6 @@ static int check_sp(struct rock_ridge *rr, struct inode *inode) | |||
37 | return 0; | 37 | return 0; |
38 | } | 38 | } |
39 | 39 | ||
40 | /* We define a series of macros because each function must do exactly the | ||
41 | same thing in certain places. We use the macros to ensure that everything | ||
42 | is done correctly */ | ||
43 | |||
44 | #define CONTINUE_DECLS \ | ||
45 | int cont_extent = 0, cont_offset = 0, cont_size = 0; \ | ||
46 | void *buffer = NULL | ||
47 | |||
48 | #define CHECK_CE \ | 40 | #define CHECK_CE \ |
49 | {cont_extent = isonum_733(rr->u.CE.extent); \ | 41 | {cont_extent = isonum_733(rr->u.CE.extent); \ |
50 | cont_offset = isonum_733(rr->u.CE.offset); \ | 42 | cont_offset = isonum_733(rr->u.CE.offset); \ |
@@ -98,7 +90,10 @@ int get_rock_ridge_filename(struct iso_directory_record *de, | |||
98 | { | 90 | { |
99 | int len; | 91 | int len; |
100 | unsigned char *chr; | 92 | unsigned char *chr; |
101 | CONTINUE_DECLS; | 93 | int cont_extent = 0; |
94 | int cont_offset = 0; | ||
95 | int cont_size = 0; | ||
96 | void *buffer = NULL; | ||
102 | struct rock_ridge *rr; | 97 | struct rock_ridge *rr; |
103 | int sig; | 98 | int sig; |
104 | int retnamlen = 0; | 99 | int retnamlen = 0; |
@@ -188,8 +183,10 @@ parse_rock_ridge_inode_internal(struct iso_directory_record *de, | |||
188 | struct inode *reloc; | 183 | struct inode *reloc; |
189 | struct rock_ridge *rr; | 184 | struct rock_ridge *rr; |
190 | int rootflag; | 185 | int rootflag; |
191 | 186 | int cont_extent = 0; | |
192 | CONTINUE_DECLS; | 187 | int cont_offset = 0; |
188 | int cont_size = 0; | ||
189 | void *buffer = NULL; | ||
193 | 190 | ||
194 | if (!ISOFS_SB(inode->i_sb)->s_rock) | 191 | if (!ISOFS_SB(inode->i_sb)->s_rock) |
195 | return 0; | 192 | return 0; |
@@ -532,7 +529,10 @@ static int rock_ridge_symlink_readpage(struct file *file, struct page *page) | |||
532 | char *rpnt = link; | 529 | char *rpnt = link; |
533 | unsigned char *pnt; | 530 | unsigned char *pnt; |
534 | struct iso_directory_record *raw_inode; | 531 | struct iso_directory_record *raw_inode; |
535 | CONTINUE_DECLS; | 532 | int cont_extent = 0; |
533 | int cont_offset = 0; | ||
534 | int cont_size = 0; | ||
535 | void *buffer = NULL; | ||
536 | unsigned long block, offset; | 536 | unsigned long block, offset; |
537 | int sig; | 537 | int sig; |
538 | int len; | 538 | int len; |