An unused reference in a research paper I am in a process of making a paper camera-ready for publication. In the reference section, I have listed some works, which are not referenced in the text.

For example, can I write in the main text:


  This result1 is cited from [1].
  This result2 is cited from [4].


… and in the reference section:


  [1]  cited from here
  [2]  cited from here
  [3]  cited from here
  [4]  cited from here


I have not referenced [2] and [3] anywhere in the paper.

Is this paper is valid for publication? Or does it not affect the paper?
This depends on the journal's style sheet, but usually you only list the references that are cited in the text. Thus, I would delete the superfluous ones (and renumber the notes).