summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_eq.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-02-01 22:38:24 +0100
committerRoland Dreier <rolandd@cisco.com>2006-03-20 19:08:09 +0100
commit2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 (patch)
tree6cb2693d8e10a903d78e236e90645fc6df28c9b3 /drivers/infiniband/hw/mthca/mthca_eq.c
parentIB/mthca: Add device-specific support for resizing CQs (diff)
downloadlinux-2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625.tar.xz
linux-2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625.zip
IB/mthca: Whitespace cleanups
Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_eq.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_eq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_eq.c b/drivers/infiniband/hw/mthca/mthca_eq.c
index 2eabb27804cd..cf43a5388397 100644
--- a/drivers/infiniband/hw/mthca/mthca_eq.c
+++ b/drivers/infiniband/hw/mthca/mthca_eq.c
@@ -497,7 +497,7 @@ static int __devinit mthca_create_eq(struct mthca_dev *dev,
eq->dev = dev;
eq->nent = roundup_pow_of_two(max(nent, 2));
- npages = ALIGN(eq->nent * MTHCA_EQ_ENTRY_SIZE, PAGE_SIZE) / PAGE_SIZE;
+ npages = ALIGN(eq->nent * MTHCA_EQ_ENTRY_SIZE, PAGE_SIZE) / PAGE_SIZE;
eq->page_list = kmalloc(npages * sizeof *eq->page_list,
GFP_KERNEL);