Merge tag 'nios2-v4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2
Pull nios2 updates from Ley Foon Tan: - nios2: Remove unnecessary #ifdef guards - nios2: Switch to generic __xchg() - nios2: Fix unused variable warning * tag 'nios2-v4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2: nios2: Remove unnecessary #ifdef guards nios2: Switch to generic __xchg() nios2: Fix unused variable warning
This commit is contained in:
@@ -104,7 +104,7 @@ asmlinkage void __init nios2_boot_init(unsigned r4, unsigned r5, unsigned r6,
|
||||
unsigned r7)
|
||||
{
|
||||
unsigned dtb_passed = 0;
|
||||
char cmdline_passed[COMMAND_LINE_SIZE] = { 0, };
|
||||
char cmdline_passed[COMMAND_LINE_SIZE] __maybe_unused = { 0, };
|
||||
|
||||
#if defined(CONFIG_NIOS2_PASS_CMDLINE)
|
||||
if (r4 == 0x534f494e) { /* r4 is magic NIOS */
|
||||
|
Reference in New Issue
Block a user