Browse Source

GFS2: fs/gfs2/glock.c: Deinline do_error, save 1856 bytes

This function compiles to 522 bytes of machine code.

Error paths are not very time critical.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Denys Vlasenko 9 years ago
parent
commit
a527b38e14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/gfs2/glock.c

+ 1 - 1
fs/gfs2/glock.c

@@ -218,7 +218,7 @@ static void gfs2_holder_wake(struct gfs2_holder *gh)
  *
  *
  */
  */
 
 
-static inline void do_error(struct gfs2_glock *gl, const int ret)
+static void do_error(struct gfs2_glock *gl, const int ret)
 {
 {
 	struct gfs2_holder *gh, *tmp;
 	struct gfs2_holder *gh, *tmp;