[Skiboot] [PATCH 11/51] libflash/ipmi-hiomap: Remove unused close handling

Andrew Jeffery andrew at aj.id.au
Fri Feb 15 17:56:28 AEDT 2019


Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 libflash/ipmi-hiomap.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libflash/ipmi-hiomap.c b/libflash/ipmi-hiomap.c
index 32bd557b7c8b..c787da4d3c88 100644
--- a/libflash/ipmi-hiomap.c
+++ b/libflash/ipmi-hiomap.c
@@ -201,11 +201,6 @@ static void ipmi_hiomap_cmd_cb(struct ipmi_msg *msg)
 
 		break;
 	}
-	case HIOMAP_C_CLOSE_WINDOW:
-		lock(&ctx->lock);
-		ctx->window_state = closed_window;
-		unlock(&ctx->lock);
-		break;
 	case HIOMAP_C_MARK_DIRTY:
 	case HIOMAP_C_FLUSH:
 	case HIOMAP_C_ACK:
-- 
2.19.1



More information about the Skiboot mailing list