Remove unnecessary casts
Change-Id: Ia97283707282ccccdc707c969f59337313b4e291 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1767 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Spencer Oliver
parent
704082443d
commit
ba2fbe2247
@@ -2731,7 +2731,7 @@ static const struct sam3_reg_list sam3_all_regs[] = {
|
||||
|
||||
static struct sam3_bank_private *get_sam3_bank_private(struct flash_bank *bank)
|
||||
{
|
||||
return (struct sam3_bank_private *)(bank->driver_priv);
|
||||
return bank->driver_priv;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user