Skip to contentSkip to conversation

block:Remove no longer needed fix me comment in the function, ace_probe for the file, xsysace.c

PATCH New Nicholas Krause 1 participant 1 message Jan 15, 2015 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block:Remove no longer needed fix me comment in the function, ace_probe for the file, xsysace.c

This removes the no longer needed fix me comment for hardcoding the variable bus_width to the marco,ACE_BUS_WIDTH_16 as unless checked by a if statement inside the function,ace_probe for 8 bit mode the bus width must be 16 bit for this particular function.

---
 drivers/block/xsysace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/xsysace.c +1 -1
index c4328d9..1b807ed 100644
@@ -1152,7 +1152,7 @@ static void ace_free(struct device *dev)
 static int ace_probe(struct platform_device *dev)
 {
 	resource_size_t physaddr = 0;
-	int bus_width = ACE_BUS_WIDTH_16; /* FIXME: should not be hard coded */
+	int bus_width = ACE_BUS_WIDTH_16;
 	u32 id = dev->id;
 	int irq = 0;
 	int i;
Signature · 1 line
2.1.0