As you can see here it are different in different countries in this matter: http://en.wikipedia.org/wiki/Software_patent#United_States So before you remove anything is better to be 100% sure.
As you can see here it are different in different countries in this matter: en.wikipedia. org/wiki/ Software_ patent# United_ States
http://
So before you remove anything is better to be 100% sure.