Skip to contentSkip to conversation

adfs: remove a kernel 2.2 #ifdef

PATCH New Adrian Bunk 1 participant 1 message Feb 8, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 adfs: remove a kernel 2.2 #ifdef

The patch below removes a kernel 2.2 #ifdef from fs/adfs/adfs.h .

Note that this #ifdef was only present in the header, the implementation of adfs_bmap was already removed.

Please apply
Adrian

fs/adfs/adfs.h renamed from fs/adfs/adfs.h.old +0 -4
@@ -68,12 +68,8 @@
 
 
 /* Inode stuff */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
 int adfs_get_block(struct inode *inode, sector_t block,
 		   struct buffer_head *bh, int create);
-#else
-int adfs_bmap(struct inode *inode, int block);
-#endif
 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
 void adfs_read_inode(struct inode *inode);
 void adfs_write_inode(struct inode *inode,int unused);