[PATCH] Drivers: Stagins: memrar: cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From:Spyros Papageorgiou <spyros.papageorgiou@xxxxxxxx>

Removed an unneeded struct specifier in function call.

Signed-off-by: Spyros Papageorgiou <spyros.papageorgiou@xxxxxxxx>
---
 drivers/staging/memrar/memrar_allocator.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/memrar/memrar_allocator.c b/drivers/staging/memrar/memrar_allocator.c
index a4f8c58..db37c6a 100644
--- a/drivers/staging/memrar/memrar_allocator.c
+++ b/drivers/staging/memrar/memrar_allocator.c
@@ -276,7 +276,7 @@ long memrar_allocator_free(struct memrar_allocator *allocator,
 
 		struct memrar_address_range * const chunk =
 			&list_entry(pos,
-				    struct memrar_address_ranges,
+				    memrar_address_ranges,
 				    list)->range;
 
 		/* Extend size of existing free adjacent chunk. */
@@ -300,7 +300,7 @@ long memrar_allocator_free(struct memrar_allocator *allocator,
 
 			struct memrar_address_ranges const * const next =
 				list_entry(pos->next,
-					   struct memrar_address_ranges,
+					   memrar_address_ranges,
 					   list);
 
 			chunk->end = handle->end;
@@ -352,7 +352,7 @@ long memrar_allocator_free(struct memrar_allocator *allocator,
 
 			struct memrar_address_ranges const * const prev =
 				list_entry(pos->prev,
-					   struct memrar_address_ranges,
+					   memrar_address_ranges,
 					   list);
 
 			chunk->begin = handle->begin;
-- 
1.7.0.4
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux