public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb938b
)
filesys: use inline for baddev
author
Alan Cox
<alan@linux.intel.com>
Fri, 20 Feb 2015 22:24:56 +0000
(22:24 +0000)
committer
Alan 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
patch
|
blob
|
history
diff --git
a/Kernel/filesys.c
b/Kernel/filesys.c
index
dc95386
..
d583bfa
100644
(file)
--- a/
Kernel/filesys.c
+++ b/
Kernel/filesys.c
@@
-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);
}