Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7220c017 authored by Dave Kleikamp's avatar Dave Kleikamp
Browse files

JFS: Remove incorrect kgdb define



jfs_debug.h uses an incorrect CONFIG_KERNEL_ASSERT ifdef to redefine the
assert macro for kgdb use.  I believe the code worked a long time ago, but
today it's not a valid config option.  Since I'm not aware of anybody
interested in debugging jfs with kgdb, it should just be removed.

Thanks to Robert P. J. Day for reporting this.

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent 4aa0d230
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -39,10 +39,6 @@ extern void jfs_proc_clean(void);
/*
 *	assert with traditional printf/panic
 */
#ifdef CONFIG_KERNEL_ASSERTS
/* kgdb stuff */
#define assert(p) KERNEL_ASSERT(#p, p)
#else
#define assert(p) do {	\
	if (!(p)) {	\
		printk(KERN_CRIT "BUG at %s:%d assert(%s)\n",	\
@@ -50,7 +46,6 @@ extern void jfs_proc_clean(void);
		BUG();	\
	}		\
} while (0)
#endif

/*
 *	debug ON