瀏覽代碼

[ALSA] aw2 - Remove endian dependency

Removed unnecessary dependency on the little-endianess.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 17 年之前
父節點
當前提交
fd2499f0ed
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      sound/pci/aw2/aw2-tsl.h

+ 0 - 6
sound/pci/aw2/aw2-tsl.h

@@ -72,10 +72,6 @@
     /*      SD3:          >-------<_4-L___>-------<_4-R___> */
     /*      WS4:          -------\_______________/--------- */
 
-#ifdef __BIG_ENDIAN
-    /* TODO: not yet implemented */
-#else /*  */
-
 static int tsl1[8] = {
 	1 * TSL_SDW_A1 | 3 * TSL_BSEL_A1 |
 	0 * TSL_DIS_A1 | 0 * TSL_DOD_A1 | TSL_LF_A1,
@@ -112,5 +108,3 @@ static int tsl2[8] = {
 	0 * TSL_SDW_A2 | 1 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_WS2,
 	0 * TSL_SDW_A2 | 0 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_WS2 | TSL_EOS
 };
-
-#endif /*  */