Remove stale comment. Yes, it is valid to set role back to init.

MFC after:	1 week
This commit is contained in:
Pawel Jakub Dawidek 2011-03-21 15:08:10 +00:00
parent 2b5ad0e077
commit ed646d4dbc

View File

@ -327,7 +327,7 @@ control_handle(struct hastd_config *cfg)
if (cmd == HASTCTL_SET_ROLE) {
role = nv_get_uint8(nvin, "role");
switch (role) {
case HAST_ROLE_INIT: /* Is that valid to set, hmm? */
case HAST_ROLE_INIT:
case HAST_ROLE_PRIMARY:
case HAST_ROLE_SECONDARY:
break;