def sdram_freq_config_set(kodi_setting, all_settings):
 try:
  version = PiVersion()
 except IOError:
  version = 'PiB'
 if (version == 'PiB'):
  if (int(kodi_setting) == 400):
   return 'remove_this_line'
 elif (version == 'Pi2'):
  if (int(kodi_setting) == 450):
   return 'remove_this_line'
 return kodi_setting

def sdram_freq_config_set ( kodi_setting , all_settings ) : try : version = PiVersion ( ) except IOError : version = 'PiB' if ( version == 'PiB' ) : if ( int ( kodi_setting ) == 400 ) : return 'remove_this_line' elif ( version == 'Pi2' ) : if ( int ( kodi_setting ) == 450 ) : return 'remove_this_line' return kodi_setting
checks if the frequency setting is the same as the default pi setting .