lkml.org 
[lkml]   [2010]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/2] lib/btree: Kill unused MAX macro
Kill unused MAX macro

Signed-off-by: Denis Kirjanov <kirjanov@gmail.com>
---
diff --git a/lib/btree.c b/lib/btree.c
index 41859a8..f833949 100644
--- a/lib/btree.c
+++ b/lib/btree.c
@@ -45,7 +45,6 @@
#include <linux/slab.h>
#include <linux/module.h>

-#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define NODESIZE MAX(L1_CACHE_BYTES, 128)

struct btree_geo {

\
 
 \ /
  Last update: 2010-05-12 23:16    [W:0.036 / U:3.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site