filesys: use inline for baddev
authorAlan Cox <alan@linux.intel.com>
Fri, 20 Feb 2015 22:24:56 +0000 (22:24 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 20 Feb 2015 22:24:56 +0000 (22:24 +0000)
Saves us 0x40 bytes or so

Kernel/filesys.c

index dc95386..d583bfa 100644 (file)
@@ -466,7 +466,7 @@ fsptr getdev(uint16_t dev)
 /* Returns true if the magic number of a superblock is corrupt.
 */
 
-bool baddev(fsptr dev)
+bool inline baddev(fsptr dev)
 {
     return(dev->s_mounted != SMOUNTED);
 }