code: def module_remove(name):
      '''
      Removes SELinux module
  
      name
          The name of the module to remove
  
      .. versionadded:: 2016.11.6
      '''
      ret = {'name': name,
             'result': True,
             'comment': '',
             'changes': {}}
      modules = __salt__['selinux.list_semod']()
      if name not in modules:
          ret['comment'] = 'Module {0} is not available'.format(name)
          ret['result'] = False
          return ret
      if __salt__['selinux.remove_semod'](name):
          ret['comment'] = 'Module {0} has been removed'.format(name)
          return ret
      ret['result'] = False
      ret['comment'] = 'Failed to remove module {0}'.format(name)
      return ref module_remove(name):
      '''
      Removes SELinux module
  
      name
          The name of the module to remove
  
      .. versionadded:: 2016.11.6
      '''
      ret = {'name': name,
             'result': True,
             'comment': '',
             'changes': {}}
      modules = __salt__['selinux.list_semod']()
      if name not in modules:
          ret['comment'] = 'Module {0} is not available'.format(name)
          ret['result'] = False
          return ret
      if __salt__['selinux.remove_semod'](name):
          ret['comment'] = 'Module {0} has been removed'.format(name)
          return ret
      ret['result'] = False
      ret['comment'] = 'Failed to remove module {0}'.format(name)
      return ret
docs: Removes SELinux module
  
      name
          The name of the module to remove
  
      .. versionadded:: 2016.11.6