Remove volatile qualifier in get_ram_size() calls
Checkpatch.pl complains about the volatile qualifier in calls to get_ram_size(). Remove this qualifier in the prototype and in the calls where it is useless, and leave it only in the function body where it is needed. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
* the actually available RAM size between addresses `base' and
|
||||
* `base + maxsize'.
|
||||
*/
|
||||
long get_ram_size(volatile long *base, long maxsize)
|
||||
long get_ram_size(long *base, long maxsize)
|
||||
{
|
||||
volatile long *addr;
|
||||
long save[32];
|
||||
|
||||
Reference in New Issue
Block a user