summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rate.c
diff options
context:
space:
mode:
authorAlex Elder <aelder@sgi.com>2010-04-13 07:22:48 +0200
committerAlex Elder <aelder@sgi.com>2010-05-19 16:58:12 +0200
commit5c17f5339f9dfdee8ad9661e97f8030d75b6bff7 (patch)
tree27a32181d8c185a12c81af30f2a1bb1b93efbabc /net/mac80211/rate.c
parentxfs: simplify XLOG_SECTOR_ROUND*() (diff)
downloadlinux-5c17f5339f9dfdee8ad9661e97f8030d75b6bff7.tar.xz
linux-5c17f5339f9dfdee8ad9661e97f8030d75b6bff7.zip
xfs: kill XLOG_SECTOR_ROUND*()
XLOG_SECTOR_ROUNDUP_BBCOUNT() and XLOG_SECTOR_ROUNDDOWN_BLKNO() are now fairly simple macro translations. Just get rid of them in favor of the round_up() and round_down() macro calls they represent. Also, in spots in xlog_get_bp() and xlog_write_log_records(), round_up() was being called with value 1, which just evaluates to the macro's second argument; so just use that instead. In the latter case, make use of that value, as long as it's already been computed. Signed-off-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'net/mac80211/rate.c')
0 files changed, 0 insertions, 0 deletions