Retirement tax questions

Thanks to all! Since W-2 Box 1 excludes deferred contributions from gross income, any deferred contributions entered in Box 12 are irrelevant; that's why the IRS efile needs only 2 codes and I get the same results if I omit none, one, or both of my two 401 K contributions (D 2017, D 2018) from Box 12.