mlx4_core: Clean up struct mlx4_buf
authorRoland Dreier <rolandd@cisco.com>
Thu, 7 Feb 2008 05:17:59 +0000 (21:17 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 7 Feb 2008 05:17:59 +0000 (21:17 -0800)
commitb57aacfa7a95328f469d0360e49289b023c47e9e
tree5642416e92540b93ffb1221ae75b3f1f43ffcd7b
parent313abe55a87bc10e55d00f337d609e17ad5f8c9a
mlx4_core: Clean up struct mlx4_buf

Now that struct mlx4_buf.u is a struct instead of a union because of
the vmap() changes, there's no point in having a struct at all.  So
move .direct and .page_list directly into struct mlx4_buf and get rid
of a bunch of unnecessary ".u"s.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/alloc.c
drivers/net/mlx4/mr.c
include/linux/mlx4/device.h