[KJ] [PATCH] MIN/MAX cleanup

Amol Lad amol at verismonetworks.com
Thu Sep 7 05:22:21 PDT 2006


Cleanups done to use min/max macros from kernel.h. Handcrafted MIN/MAX
macros in some drivers are changed to use macros from kernel.h

Tested for allmodconfig and allnoconfig configurations.

Signed-off-by: Amol Lad <amol at verismonetworks.com>
---

 drivers/isdn/hardware/eicon/debug.c    |    4 +-
 drivers/isdn/hardware/eicon/di.c       |    6 ++--
 drivers/isdn/hardware/eicon/istream.c  |    2 -
 drivers/isdn/hardware/eicon/platform.h |    4 +-
 drivers/scsi/aic7xxx/aic79xx.h         |    6 ++--
 drivers/scsi/aic7xxx/aic79xx_core.c    |   12 ++++----
 drivers/scsi/aic7xxx/aic79xx_osm.c     |    2 -
 drivers/scsi/aic7xxx/aic7xxx.h         |    6 ++--
 drivers/scsi/aic7xxx/aic7xxx_core.c    |   12 ++++----
 drivers/scsi/aic7xxx/aic7xxx_osm.c     |    2 -
 fs/xfs/xfs_btree.h                     |   34 ++++++-----------------
 fs/xfs/xfs_rtalloc.c                   |   16 +++++-----
 fs/xfs/xfs_rtalloc.h                   |    6 ++--
 include/linux/utsrelease.h             |    1
 14 files changed, 53 insertions(+), 60 deletions(-)




-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-MIN-MAX-patch
Type: text/x-patch
Size: 16235 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/kernel-janitors/attachments/20060907/a3469cae/cleanup-MIN-MAX-patch-0001.bin


More information about the Kernel-janitors mailing list