Well, this is strange question. Why would you do that? It’s a Select php query where you assign how many post you want and maybe you can select the post not to be publish.
I wouldn’t advise for you remove the php function which contain the pagination