[INT] fix the mask/unmask interrupt api to not take oldstate argument
diff --git a/platform/omap5912/interrupts.c b/platform/omap5912/interrupts.c
index 5621561..730618f 100644
--- a/platform/omap5912/interrupts.c
+++ b/platform/omap5912/interrupts.c
@@ -99,7 +99,7 @@
 	*ICReg(0, INTCON_GMR) = 0;
 }
 
-status_t mask_interrupt(unsigned int vector, bool *oldstate)
+status_t mask_interrupt(unsigned int vector)
 {
 	if (vector >= INT_VECTORS)
 		return ERR_INVALID_ARGS;
@@ -108,9 +108,6 @@
 
 	enter_critical_section();
 
-	if (oldstate)
-		*oldstate = false;
-
 	volatile uint32_t *mir = ICReg(vectorToController(vector), INTCON_MIR);
 	*mir = *mir | (1<<(vector % 32));
 
@@ -119,7 +116,7 @@
 	return NO_ERROR;
 }
 
-status_t unmask_interrupt(unsigned int vector, bool *oldstate)
+status_t unmask_interrupt(unsigned int vector)
 {
 	if (vector >= INT_VECTORS)
 		return ERR_INVALID_ARGS;
@@ -128,9 +125,6 @@
 
 	enter_critical_section();
 
-	if (oldstate)
-		*oldstate = false;
-
 	volatile uint32_t *mir = ICReg(vectorToController(vector), INTCON_MIR);
 	*mir = *mir & ~(1<<(vector % 32));